package com.yekaile.carsystem.mapper;

import com.yekaile.carsystem.controller.vo.MenuVO2;import com.yekaile.carsystem.entity.SystemAuthority;
import com.yekaile.carsystem.entity.SystemAuthorityExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SystemAuthorityMapper {
    long countByExample(SystemAuthorityExample example);

    int deleteByExample(SystemAuthorityExample example);

    int deleteByPrimaryKey(Integer systemAuthorityId);

    int insert(SystemAuthority record);

    int insertOrUpdate(SystemAuthority record);

    int insertOrUpdateSelective(SystemAuthority record);

    int insertSelective(SystemAuthority record);

    List<SystemAuthority> selectByExample(SystemAuthorityExample example);

    SystemAuthority selectByPrimaryKey(Integer systemAuthorityId);

    int updateByExampleSelective(@Param("record") SystemAuthority record, @Param("example") SystemAuthorityExample example);

    int updateByExample(@Param("record") SystemAuthority record, @Param("example") SystemAuthorityExample example);

    int updateByPrimaryKeySelective(SystemAuthority record);

    int updateByPrimaryKey(SystemAuthority record);

    int updateBatch(List<SystemAuthority> list);

    int updateBatchSelective(List<SystemAuthority> list);

    int batchInsert(@Param("list") List<SystemAuthority> list);

    List<SystemAuthority> selectAll();

    List<MenuVO2> selectDistinctMenuCodeAndMenuName();
}